package com.longlong.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.longlong.entity.AdminUser;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdminUserMapper extends BaseMapper<AdminUser> {


    List<AdminUser> findAdminUsers();


    /*
    * 根据用户名获取用户对象
    * */
    AdminUser findUserByName(String userName);

    /*
    * 查询用户信息
    * */
    AdminUser findAdminUserInfo(Integer id);




}
